package cn.neo.hhmq.client;

import cn.neo.hhmq.model.Message;
import lombok.AllArgsConstructor;

/**
 * 生产者
 */
@AllArgsConstructor
public class HHProducer {

    HHBroker broker;

    public boolean send(String topic, Message message) {
        return broker.send(topic, message);
    }
}
